export default {
    setToken: (state: any, payload: any) => {
        state.token = payload
    },
    // 标签页列表
    setTabsList: (state: any, payload: any) => {
        state.tabsList = payload
    },
    // 设置导航标签页选中项
    setTabsActiveName: (state: any, payload: any) => {
        state.tabsActiveName = payload
    },
    // 设置菜单栏展开折叠
    setMenuCollapse: (state: any, payload: any) => {
        state.menuCollapse = payload
    },
    // 保存登录人信息
    save_user_info: (state: any, payload: Object) => {
        state.user_info = payload
    }
}